%h1 Site Configurations
%table
  %tr
    %th Name
    %th String
    %th Integer
    %th Boolean
    %th Text
    %th Operations
  -for site_config in @site_configurations
    %tr
      %td
        =site_config.prop_name
      %td
        =site_config.string_prop_value
      %td
        =site_config.integer_prop_value
      %td
        =site_config.boolean_prop_value
      %td
        =h(site_config.text_prop_value)
      %td
        =link_to "Edit", edit_admin_site_configuration_path(site_config)
        |
        =link_to "Remove", [:admin,site_config], :method=>:delete, :confirm=>"Are you sure you want to delete Site Config #{site_config.prop_name}"
        
=link_to "New Config", new_admin_site_configuration_path
        